<template>
  <div>
    <input type="text" v-model="name" />
  </div>
</template>

<script>
export default {
  data() {
    return {
      name: "",
      Star: "",
    };
  },
  watch: {
    name: {
      immediate: true,
      deep: true,
      handler(newVal) {
        console.log(newVal);
      },
    },
  },
};
</script>

<style>
</style>